#include "../../include/server/SearchEngineServer.h"
#include "../../include/Dict/dictionary.h"
#include "../../include/Dict/ChDictionary.h"
#include "../../include/CacheManager.h"

WebPageQuery webPageQuery("../data/invertindex.dat", "../data/CnDict.data",
                          "../data/EnDict.data", "../data/stop_words_zh.txt",
                          "../data/stop_words_eng.txt", "../data/pageLib.dat");

int main(void)
{
    // string enDictPath="../../data/en_art";
    // string chDictPath="../../data/cn_art";
    // Dictionary enDict(enDictPath);
    SearchEngineServer server(4, 10, "127.0.0.1", 8888);
    server.start();
}
